@charset "utf-8";

:root {
  --log-music-bar-color1: #009587;
  --log-music-bar-color2: #f00;
  --log-music-bar-color3: #00f;
  --log-music-bar-color4: #fbff44;

  --log-font-color: #666;
}

.proccess-out {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: 199999999;
  background: transparent;
  width: 100%;
  height: 4em;
  text-align: center;
  vertical-align: middle;
  pointer-events: none;
}

.proccess-out-close {
  position: absolute;
  right: 0;
  top: 0;
  width: 15px;
  height: 15px;
  text-align: center;
  line-height: 15px;
  font-size: 15px;
  color: #f07d7d;
  font-weight: bold;
  cursor: pointer;
  z-index: 2;
}

.proccess-out-close::after {
  content: 'x';
  left: 0;
  top: 0;
  cursor: pointer;
}

.proccess-out-close:hover {
  color: red;
}

.proccess-area {
  display: none;
  position: absolute;
  min-width: 13.6em;
  background: #ffffff;
  top: 4.15em;
  left: 0;
  max-height: 13.6em;
  overflow-y: auto;
  animation: area-top-down .18s linear;
}

.proccess-area-task {
  position: relative;
  width: 100%;
  height: 25px;
  border-radius: 3px;
  box-sizing: border-box;
  color: var(--log-font-color);
  font-weight: 100;
  text-indent: 5px;
  font-size: 12px;
  line-height: 18px;
  margin-top: 2px;
}

.proccess-area-task .layui-border-span {
  position: absolute;
  background: var(--log-font-color);
  transition: all 1s;
}

.proccess-area-task .layui-border-span:nth-child(1) {
  width: 100%;
  height: 1px;
}

.proccess-area-task .layui-border-span:nth-child(2) {
  width: 1px;
  height: 100%;
}

.proccess-area-task .layui-border-span:nth-child(3) {
  width: 100%;
  height: 1px;
  bottom: 0;
}

.proccess-area-task .layui-border-span:nth-child(4) {
  width: 1px;
  height: 100%;
  right: 0;
}

.proccess-area-task .proccess-area-text {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 10em;
  position: absolute;
  left: 10px;
  top: 3px;
}

.proccess-area-task .proccess-area-percent {
  display: inline-block;
  overflow: hidden;
  position: absolute;
  right: 10px;
  top: 3px;
}

.proccess-area-out-content {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  font-size: 12px;
  font-weight: bold;
  color: var(--log-font-color);
  text-shadow: 0 0 1px #fff;
}

.proccess-area-task .proccess-area-out-bar {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #9a9e9a;
  background-color: #fff;
  /* background-color: transparent; */
  border-radius: 5px;
  box-sizing: border-box;
  border: 1px solid #f0f0f0;
  /*   margin-top: -5px; */
}

.proccess-area-task .proccess-area-bar {
  width: 0%;
  height: 4px;
  background: #1e6da8;
  background-color: var(--log-music-bar-color1);
}

.proccess-area-task .proccess-area-bar {
  height: 100%;
  /* background: #fff; */
  width: 0%;
  position: absolute;
  line-height: 28px;
  text-indent: 10px;
  font-size: 16px;
  /* color: #009587; */
/*   border-top-right-radius: 5px;
  border-bottom-right-radius: 5px; */
  border-radius: 5px;
  font-weight: bold;
  text-align: right;
  transition: all 0.5s;
  overflow: hidden;
}

.proccess-area-task .proccess-area-bar::before {
  content: ' ';
  position: absolute;
  left: 0px;
  width: 100%;
  height: 100%;
  background-size: 20px 20px;
  background-image: linear-gradient(135deg, rgba(0, 149, 135, 0.1) 0%, rgba(0, 149, 135, 0.1) 25%, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(0, 149, 135, 0.1) 50%, rgba(0, 149, 135, 0.1) 75%, rgba(255, 255, 255, 0.1) 75%, rgba(255, 255, 255, 0.1) 100%);
  animation: movebar 0.5s linear infinite;
}


.proccess-out-main {
  position: relative;
  display: inline-block;
  min-width: 13em;
  max-height: 4em;
  background: #fff;
  box-shadow: 0 0 50px rgba(0, 0, 0, .3);
  border-radius: 4px;
  vertical-align: middle;
  text-align: left;
  pointer-events: auto;
}

.proccess-out-main .proccess-out-icon {
  display: inline-block;
  width: 3.4em;
}

.proccess-out-main .proccess-out-msg {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  min-width: 8em;
  max-width: 20em;
  height: 4em;
  line-height: 4em;
  font-size: 1em;
  letter-spacing: 2px;
  font-weight: bold;
  text-indent: 4px;
  color: var(--log-font-color);
}

.proccess-out-main .proccess-out-tool {
  display: inline-block;
  padding: 0 4px;
  height: 4em;
  width: 2em;
  line-height: 4em;
}

.proccess-out-tool .proccess-out-tool-pos {
  position: absolute;
  width: 2em;
  height: 4em;
}

.proccess-out-tool .proccess-out-tool-body {
  position: absolute;
  width: 1em;
  height: 1em;
  left: 0.5em;
  transform-origin: left top;
  cursor: pointer;
  animation: animation-toolbar 1.5s linear infinite;
}

.proccess-out-main .proccess-out-tool .proccess-icon-down,
.proccess-out-main .proccess-out-tool .proccess-icon-up {
  content: '';
}

.proccess-out-main .proccess-out-tool .proccess-icon-down {
  top: 1.5em;
  transform: rotate(45deg);
}

.proccess-out-main .proccess-out-tool .proccess-icon-up {
  top: 2.5em;
  transform: rotate(-135deg);
}

.proccess-extra-task-out {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: transparent;
  user-select: none;
  pointer-events: none;
  z-index: 99999999;
}

.proccess-extra-task-out .proccess-extra-task {
  height: 100%;
  width: 0%;
  background-color: var(--log-music-bar-color1);
}

.proccess-out-icon-div {
  display: none;
}

/* 第一套样式  Nomal */

.proccess-out-icon-nomal .proccess-out-icon-div {
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  display: block;
}

.proccess-out-icon-nomal .proccess-out-icon-div:nth-child(1) {
  left: 1em;
  top: 1em;
  background: var(--log-music-bar-color1);
  border-radius: 0%;
  animation: animation-span-1 4s linear infinite;
}

.proccess-out-icon-nomal .proccess-out-icon-div:nth-child(2) {
  left: 2em;
  top: 1em;
  background: var(--log-music-bar-color2);
  border-radius: 50%;
  animation: animation-span-2 4s linear infinite;
}

.proccess-out-icon-nomal .proccess-out-icon-div:nth-child(3) {
  left: 1em;
  top: 2em;
  background: var(--log-music-bar-color3);
  border-radius: 50%;
  animation: animation-span-3 4s linear infinite;
}

.proccess-out-icon-nomal .proccess-out-icon-div:nth-child(4) {
  left: 2em;
  top: 2em;
  background: var(--log-music-bar-color4);
  border-radius: 0%;
  animation: animation-span-4 4s linear infinite;
}

/* 第二套样式  Music */

.proccess-out-icon-music .proccess-out-icon-div {
  position: absolute;
  width: 0.5em;
  height: 50%;
  border-radius: 0;
  top: auto;
  bottom: 1em;
  display: block;
  background: var(--log-music-bar-color1);
  transition: all 0.2s;
}

.proccess-out-icon-music .proccess-out-icon-div:nth-child(1) {
  left: 0.5em;
  animation: animation-span-1-1 1s linear infinite
}

.proccess-out-icon-music .proccess-out-icon-div:nth-child(2) {
  left: 1.2em;
  animation: animation-span-2-1 1.5s linear infinite;
}

.proccess-out-icon-music .proccess-out-icon-div:nth-child(3) {
  left: 2em;
  animation: animation-span-3-1 1.1s linear infinite;
}

.proccess-out-icon-music .proccess-out-icon-div:nth-child(4) {
  left: 2.7em;
  animation: animation-span-4-1 0.9s linear infinite;
}


/* 展开or收起的动画 */
@keyframes animation-toolbar {
  0% {
    border-left: 1px solid rgba(0, 0, 0, .1);
    border-top: 1px solid rgba(0, 0, 0, .1);
  }

  25% {
    border-left: 1px solid rgba(0, 0, 0, .5);
    border-top: 1px solid rgba(0, 0, 0, .5);
  }

  50% {
    border-left: 1px solid rgba(0, 0, 0, .9);
    border-top: 1px solid rgba(0, 0, 0, .9);
  }

  75% {
    border-left: 1px solid rgba(0, 0, 0, .5);
    border-top: 1px solid rgba(0, 0, 0, .5);
  }

  100% {
    border-left: 1px solid rgba(0, 0, 0, .1);
    border-top: 1px solid rgba(0, 0, 0, .1);
  }
}

/* 展开区域的动画 */
@keyframes area-top-down {
  0% {
    top: 5.15em;
  }

  100% {
    top: 4.15em;
  }
}

/* bar 动效  */
@keyframes movebar {
  0% {
    background-position: 0px 0px;
  }

  100% {
    background-position: 20px 0px;
  }
}

/* 第一套动画 */
@keyframes animation-span-1 {
  0% {
    left: 1em;
    top: 1em;
    border-radius: 0%;
  }

  25% {
    left: 2em;
    top: 1em;
    border-radius: 50%;
  }

  50% {
    left: 2em;
    top: 2em;
    border-radius: 0%;
  }

  75% {
    left: 1em;
    top: 2em;
    border-radius: 50%;
  }

  100% {
    left: 1em;
    top: 1em;
    border-radius: 0%;
  }
}

@keyframes animation-span-2 {
  0% {
    left: 2em;
    top: 1em;
    border-radius: 50%;
  }

  25% {
    left: 2em;
    top: 2em;
    border-radius: 0%;
  }

  50% {
    left: 1em;
    top: 2em;
    border-radius: 50%;
  }

  75% {
    left: 1em;
    top: 1em;
    border-radius: 0%;
  }

  100% {
    left: 2em;
    top: 1em;
    border-radius: 50%;
  }
}

@keyframes animation-span-3 {
  0% {
    left: 1em;
    top: 2em;
    border-radius: 50%;
  }

  25% {
    left: 1em;
    top: 1em;
    border-radius: 0%;
  }

  50% {
    left: 2em;
    top: 1em;
    border-radius: 50%;
  }

  75% {
    left: 2em;
    top: 2em;
    border-radius: 0%;
  }

  100% {
    left: 1em;
    top: 2em;
    border-radius: 50%;
  }
}

@keyframes animation-span-4 {
  0% {
    left: 2em;
    top: 2em;
    border-radius: 0%;
  }

  25% {
    left: 1em;
    top: 2em;
    border-radius: 50%;
  }

  50% {
    left: 1em;
    top: 1em;
    border-radius: 0%;
  }

  75% {
    left: 2em;
    top: 1em;
    border-radius: 50%;
  }

  100% {
    left: 2em;
    top: 2em;
    border-radius: 0%;
  }
}

/* 第二套动画 */

@keyframes animation-span-1-1 {
  0% {
    height: 20%;
  }

  50% {
    height: 20%;
  }

  75% {
    height: 60%;
  }

  100% {
    height: 30%;
  }
}

@keyframes animation-span-2-1 {
  0% {
    height: 10%;
  }

  50% {
    height: 20%;
  }

  75% {
    height: 30%;
  }

  100% {
    height: 15%;
  }
}

@keyframes animation-span-3-1 {
  0% {
    height: 60%;
  }

  50% {
    height: 40%;
  }

  75% {
    height: 30%;
  }

  100% {
    height: 45%;
  }
}

@keyframes animation-span-4-1 {
  0% {
    height: 40%;
  }

  50% {
    height: 10%;
  }

  75% {
    height: 30%;
  }

  100% {
    height: 65%;
  }
}